package com.dl.exam.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

/**
 * @author DL
 * @create 2022-01-17 13:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User {
    private String userId;
    private String username;
    private String password;
    private Integer state;
    private String name;
    private Date joinTime;
    private String email;
    private String phone;
    //private Integer roleId;
    private String roleId;

    private String roleName;
    private String permissionName;
}
